home *** CD-ROM | disk | FTP | other *** search
- Path: news.ust.hk!cs_roger
- From: cs_roger@ug.cs.ust.hk (Lam Hong)
- Newsgroups: comp.lang.c++
- Subject: TEditfile class in Borland OWL
- Date: 19 Mar 1996 14:49:36 GMT
- Organization: The Hong Kong University of Science and Technology
- Message-ID: <4imhi0$7k6@ustsu10.ust.hk>
- NNTP-Posting-Host: csl3su35.cs.ust.hk
- X-Newsreader: TIN [version 1.2 PL2]
-
- Borland c++ experts,
-
- I am writing an large text editor. So I need to transfer
- my data from my data class to TEditfile class instances.
-
- But when I try to use Transfer member function to set new
- data of TEditfile class, the text is displayed in one single
- line( with out line breaks at carrige return).
-
- The carrige return keys are printed as non-printable code.
-
- I use:
-
- Transfer(mybuffer,tdSetData)
-
- Where mybuffer is a char string pointer.
-
- I have tried to use EnableTranfer, but the result is the same.
- How to solve the problem? Did I miss important parts in setting
- up data transfer mechanism?
-
- Thanks.
-
- Roger.
-
- --
- ============================ HKUST ¬L»Φ(cs_roger@cs.ust.hk) ======|
- ============================ ¡╗┤Σ¼∞º▐ñj╛╟╣qñl¡p║Γ╛≈╛╟¿tñTª~»┼ ====|
- ============================ URL http://home.ust.hk/~cs_roger ====|
-